﻿<div>
    <Input Placeholder="large size" DefaultValue="123" Size="@InputSize.Large">
        <Prefix>
            <AntIcon Type="user" />
        </Prefix>
    </Input>
    <br />
    <br />
    <Input Placeholder="default size">
        <Prefix>
            <AntIcon Type="user" />
        </Prefix>
    </Input>
    <br />
    <br />
    <Input Placeholder="small size" Size="@InputSize.Small">
        <Prefix>
            <AntIcon Type="user" />
        </Prefix>
    </Input>
    <br />
    <br />
    <InputPassword @bind-Value="@_password" Placeholder="large Password" Size="@InputSize.Large" OnPressEnter="(e)=>Submit(e)" />
</div>
@code{
    private string _password;
    private void Submit(KeyboardEventArgs args)
    {
        Console.WriteLine($"password: {_password}");
    }
}